export default [
    //给每一个路由添加name属性在路由守卫的逻辑中使用name来判断是否放行,使用path的话有的路由path后面跟动态的数值
    {path:"/",redirect:"/home"},
    //component 不是components
    {name:"home",path:"/home",component:()=>import(/*webpackChunkName : "home" */"views/home/home")},
    {name:"commend",path:"/commend",component:()=>import(/*webpackChunkName : "home" */"views/commend/commend")},
    {name:"store",path:"/store",component:()=>import(/*webpackChunkName : "home" */"views/store/store")},
    
]